<?php
/**
 * User-set welcome message. Can be filtered using 'themify_welcome_message'.
 * @var String|null
 */
$welcome_message = apply_filters('themify_welcome_message', themify_get('setting-homepage_welcome'));

if($welcome_message != ''){ ?>
	
	<div class="pagewidth">

	<?php themify_welcome_before(); //hook ?>
	
	<div class="welcome-message">
	
		<?php include 'shadela-includes/denglu.php'; ?>
		 
       <?php if (!(current_user_can('level_0'))){ ?>
           <!-- 不显示，登录号显示欢迎信息 -->
       <?php } else { ?>

            <?php themify_welcome_start(); //hook ?>
	     	<?php echo do_shortcode($welcome_message); ?>
   			<?php themify_welcome_end(); //hook ?>

       <?php }?>  
     	
	</div>
	<!--/welcome message -->
	
    <?php themify_welcome_after(); //hook ?>
    
    </div>

<?php } ?>